package com.tiancheng.trade.settlement.service.settlement;

import com.tiancheng.trade.commom.core.data.PageInfo;
import com.tiancheng.trade.settlement.exception.BusinessException;
import com.tiancheng.trade.settlement.model.settlement.PropertyInfo;
import com.tiancheng.trade.settlement.vo.settlement.admin.PropertyInfoVO;

import java.util.List;

public interface IPropertyInfoService {

    PageInfo<PropertyInfo> queryList(PropertyInfoVO propertyInfo) throws BusinessException;

    List<PropertyInfo> queryList(PropertyInfo propertyInfo) throws BusinessException;

    PropertyInfo query(Long id) throws BusinessException;

    PropertyInfo create(PropertyInfo propertyInfo) throws BusinessException;

    int update(PropertyInfo propertyInfo) throws BusinessException;

    int remove(Long id) throws BusinessException;

}
